#ifndef CONFIGHELPER_H
#define CONFIGHELPER_H
#include<QObject>

class Confighelper : public QObject
{
    Q_OBJECT

public:
    static Confighelper* getInstance();
    Q_INVOKABLE void writeIniFile(QString key, QString val);
    Q_INVOKABLE QString readIniFile(QString key);
    void init();
private:
    Confighelper(){}
    static Confighelper *instance;
};

#endif // CONFIGHELPER_H
